package com.xtck.ha.fault.modules.convert;

import com.xtck.ha.fault.modules.pojo.entity.FaultTask;
import com.xtck.ha.fault.modules.pojo.vo.FaultTaskVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
* @Description: FaultTaskConvert类
* @author liuyuan
* @date 2025-06-18
*/
@Mapper
public interface FaultTaskConvert {
        FaultTaskConvert INSTANCE = Mappers.getMapper(FaultTaskConvert.class);

        FaultTaskVO convert(FaultTask entity);

        FaultTask convert(FaultTaskVO vo);

        List<FaultTaskVO> convertList(List<FaultTask> list);

}